home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / mail / uucp / pathalias / large.pathalias.patch next >
Text File  |  1994-10-24  |  2KB  |  75 lines

  1. *** addnode.c.orig    Tue Oct 25 00:34:13 1994
  2. --- addnode.c    Tue Oct 25 00:40:50 1994
  3. ***************
  4. *** 42,48 ****
  5.    * appeals to me.
  6.    */
  7.   static long Primes[] = {
  8. !     1021, 2039, 3067, 5113, 8179, 13309, 21499, 34807, 56311, 0
  9.   };
  10.   
  11.   static int    Tabindex;
  12. --- 42,51 ----
  13.    * appeals to me.
  14.    */
  15.   static long Primes[] = {
  16. ! #ifdef SMALL
  17. !     1021, 2039, 3067, 5113, 8179, 13309, 21499, 34807, 56311,
  18. ! #endif
  19. !     91129, 147451, 0
  20.   };
  21.   
  22.   static int    Tabindex;
  23. ***************
  24. *** 342,347 ****
  25. --- 345,351 ----
  26.       register char *name;
  27.   {    register node *n;
  28.       register int i;
  29.       if (Iflag)
  30.           lowercase(name);
  31.   
  32. *** config.h.orig    Tue Oct 25 00:34:13 1994
  33. --- config.h    Tue Oct 25 00:35:45 1994
  34. ***************
  35. *** 16,21 ****
  36. --- 16,23 ----
  37.   
  38.   #define RESOLVER    /* have internet domain name resolver */
  39.   
  40. + #undef SMALL        /* run slower (definitely), use less vm (maybe). */
  41.   /* default place for dbm output of makedb (or use -o at run-time) */
  42.   #define    ALIASDB    "/usr/local/lib/palias"
  43.   
  44. *** def.h.orig    Tue Oct 25 00:34:13 1994
  45. --- def.h    Tue Oct 25 00:35:45 1994
  46. ***************
  47. *** 59,65 ****
  48.   #define n_private un2.nu_priv
  49.   #define n_parent  un2.nu_par
  50.   
  51. - /* WARNING: if > 2^16 nodes, type of n_tloc must change */
  52.   struct node {
  53.       char    *n_name;    /* host name */
  54.       link    *n_link;    /* adjacency list */
  55. --- 59,64 ----
  56. ***************
  57. *** 73,79 ****
  58.           node *nu_priv;    /* other privates in this file (parsing) */
  59.           node *nu_par;    /* parent in shortest path tree (mapping) */
  60.       } un2;
  61. !     unsigned short n_tloc;    /* back ptr to heap/hash table */
  62.       unsigned short n_flag;        /* see manifests above */
  63.   };
  64.   
  65. --- 72,78 ----
  66.           node *nu_priv;    /* other privates in this file (parsing) */
  67.           node *nu_par;    /* parent in shortest path tree (mapping) */
  68.       } un2;
  69. !     int n_tloc;        /* back ptr to heap/hash table */
  70.       unsigned short n_flag;        /* see manifests above */
  71.   };
  72.   
  73.